package cn.lanchengkeji.datafillingsystem.vo;



import cn.lanchengkeji.datafillingsystem.entity.Roles;
import cn.lanchengkeji.datafillingsystem.entity.Users;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

/**
 * Created by jacky on 2018/12/16.
 */
@Data
public class UsersVO extends Users {

    // 原密码
    @TableField(exist = false)
    private String oldPasswd;

    // 新密码
    @TableField(exist = false)
    private String newPasswd;

    // 角色id
    @TableField(exist = false)
    private Integer roleId;

    // 角色s
    @TableField(exist = false)
    private List<Integer> roleIds;

    // 角色
    @TableField(exist = false)
    private Roles role;


    // 已添加的角色集合
    @TableField(exist = false)
    private List<Roles> ytjRoles;   //todo

    // 未添加的角色集合
    @TableField(exist = false)
    private List<Roles> wtjRoles;  //todo

    // 角色名称
    @TableField(exist = false)
    private String roleNames;

    // 验证码
    @TableField(exist = false)
    private String code;

    // 图片验证码
    @TableField(exist = false)
    private String verification;
    @TableField(exist = false)
    private String newVerification;

    private List<Integer> subjectList;
}
